package com.linkoog.devtools.type.javadoc.base;


import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type")
@JsonSubTypes(value = {
        @JsonSubTypes.Type(value = KVJavaComment.class, name = "KVJavaComment"),
        @JsonSubTypes.Type(value = ValueJavaComment.class, name = "ValueJavaComment"),
})
public abstract class JavaComment {

    protected String name;

    protected String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }


}
